package com.tebiecloud.order.client.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tebiecloud.order.client.model.entity.OrderGoods;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 核销详情
 */
@Data
public class RightDetail extends OrderGoods{

    private String receiver; //收货人

    private String phone; //手机号

    private String receiverHeadimgurl; //用户头像

    private Date writeOffTime; //核销时间

    private String username; //核销人

    private String storeName; //门店名称

    private String openStime; //营业开始时间

    private String openEtime; //营业结束时间

    private Double lng; //经度

    private Double lat; //纬度

    private String storePhone; //门店电话

    private String address; //门店地址

    /**
     * 有效开始时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date codeStime;

    /**
     * 有效结束时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date codeEtime;
}
